package com.easylinkin.linkappapi.safe.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.easylinkin.linkappapi.common.model.RequestModel;
import com.easylinkin.linkappapi.safe.dto.InspectionPlanDTO;
import com.easylinkin.linkappapi.safe.entity.InspectionPlan;
import java.util.Set;

/**
 * <p>
 * 闸机表 服务类
 * </p>
 *
 * @author TongJie
 * @since 2022-04-13
 */
public interface InspectionPlanService extends IService<InspectionPlan> {

  IPage<InspectionPlanDTO> queryListByPage(RequestModel<InspectionPlan> requestModel);

  /**
   * 增加
   * @param inspectionPlan
   */
  void insert(InspectionPlan inspectionPlan);

  /**
   * 根据id编辑
   * @param inspectionPlan
   */
  void updateOne(InspectionPlan inspectionPlan);

  /**
   * 批量删除
   * @param ids
   */
  void delBatch(Set<Integer> ids);

  /**
   * @Description: 发布/中止
   * @author kan yuanfeng
   * @date 2020/11/04 11:42
   */
  void updateStatus(InspectionPlan inspectionPlan);
}
